﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200009D RID: 157
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AlleyTakeEventRewardCsReq : IMessage<AlleyTakeEventRewardCsReq>, IMessage, IEquatable<AlleyTakeEventRewardCsReq>, IDeepCloneable<AlleyTakeEventRewardCsReq>, IBufferMessage
	{
		// Token: 0x170001EA RID: 490
		// (get) Token: 0x060006D7 RID: 1751 RVA: 0x00013A7C File Offset: 0x00011C7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AlleyTakeEventRewardCsReq> Parser
		{
			get
			{
				return AlleyTakeEventRewardCsReq._parser;
			}
		}

		// Token: 0x170001EB RID: 491
		// (get) Token: 0x060006D8 RID: 1752 RVA: 0x00013A83 File Offset: 0x00011C83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AlleyTakeEventRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170001EC RID: 492
		// (get) Token: 0x060006D9 RID: 1753 RVA: 0x00013A95 File Offset: 0x00011C95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AlleyTakeEventRewardCsReq.Descriptor;
			}
		}

		// Token: 0x060006DA RID: 1754 RVA: 0x00013A9C File Offset: 0x00011C9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyTakeEventRewardCsReq()
		{
		}

		// Token: 0x060006DB RID: 1755 RVA: 0x00013AA4 File Offset: 0x00011CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyTakeEventRewardCsReq(AlleyTakeEventRewardCsReq other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060006DC RID: 1756 RVA: 0x00013AC9 File Offset: 0x00011CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyTakeEventRewardCsReq Clone()
		{
			return new AlleyTakeEventRewardCsReq(this);
		}

		// Token: 0x170001ED RID: 493
		// (get) Token: 0x060006DD RID: 1757 RVA: 0x00013AD1 File Offset: 0x00011CD1
		// (set) Token: 0x060006DE RID: 1758 RVA: 0x00013AD9 File Offset: 0x00011CD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x060006DF RID: 1759 RVA: 0x00013AE2 File Offset: 0x00011CE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AlleyTakeEventRewardCsReq);
		}

		// Token: 0x060006E0 RID: 1760 RVA: 0x00013AF0 File Offset: 0x00011CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AlleyTakeEventRewardCsReq other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060006E1 RID: 1761 RVA: 0x00013B20 File Offset: 0x00011D20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060006E2 RID: 1762 RVA: 0x00013B5F File Offset: 0x00011D5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060006E3 RID: 1763 RVA: 0x00013B67 File Offset: 0x00011D67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060006E4 RID: 1764 RVA: 0x00013B70 File Offset: 0x00011D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060006E5 RID: 1765 RVA: 0x00013BA4 File Offset: 0x00011DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060006E6 RID: 1766 RVA: 0x00013BE2 File Offset: 0x00011DE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AlleyTakeEventRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060006E7 RID: 1767 RVA: 0x00013C13 File Offset: 0x00011E13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060006E8 RID: 1768 RVA: 0x00013C1C File Offset: 0x00011E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000279 RID: 633
		private static readonly MessageParser<AlleyTakeEventRewardCsReq> _parser = new MessageParser<AlleyTakeEventRewardCsReq>(() => new AlleyTakeEventRewardCsReq());

		// Token: 0x0400027A RID: 634
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400027B RID: 635
		public const int EventIdFieldNumber = 15;

		// Token: 0x0400027C RID: 636
		private uint eventId_;
	}
}
